package my.edu.model.bills.sales.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

@Data
public class SalesReturnVO {
   private Long id;
    private String orderNo;
    private Long customerId;
    private String customerName;
    private Long salespersonId;
    private String salespersonName;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate orderDate;
    private String customerAddress;
    private Integer isAudited;
    private String refundStatus;//退款状态
    private Integer quantity;
    private BigDecimal discountRate;
    private BigDecimal discountAmount;//收款优惠
    private BigDecimal amountAfterDiscount;
    private BigDecimal reSalesAmount;//所有退款金额
    private Long settlementAccountId;
    private String settlementAccountName;
    private BigDecimal debt;
    private BigDecimal reReceivedAmount;//已退款
    private Long salesExpenseId;
    private Long salesOrderId;
    private String salesOrderNo;
    private Integer sourcePurchaseQuantity;
    private String deliveryMethod;
    private Long auditorId;
    private String auditorName;
 private String remark;//备注
 private String logisticsNo;
    List<SalesReturnDetailVO> salesReturnDetailVOList;

}
